home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 201-225 / disk_201 / draco / drinc / graphics / view.g < prev   
Text File  |  1992-05-06  |  1KB  |  62 lines

  1. type
  2. „ColorMap_t=struct{
  3. ˆushortcm_Flags;
  4. ˆushortcm_Type;
  5. ˆuintcm_Count;
  6. ˆ*uintcm_ColorTable;
  7. „},
  8.  
  9. „ViewPort_t=struct{
  10. ˆ*ViewPort_tvp_Next;
  11. ˆ*ColorMap_tvp_ColorMap;
  12. ˆ*CopList_tvp_DspIns,vp_SprIns,vp_ClrIns;
  13. ˆ*UCopList_tvp_UCopIns;
  14. ˆuintvp_DWidth,vp_DHeight;
  15. ˆintvp_DxOffset,vp_DyOffset;
  16. ˆuintvp_Modes;
  17. ˆuintvp_reserved;
  18. ˆ*RasInfo_tvp_RasInfo;
  19. „},
  20.  
  21. „View_t=struct{
  22. ˆ*ViewPort_tv_ViewPort;
  23. ˆ*cprlist_tv_LOFCprList,v_SHFCprList;
  24. ˆintv_DyOffset,v_DxOffset;
  25. ˆuintv_Modes;
  26. „};
  27.  
  28. uint
  29. „GENLOCK_VIDEO‡=0x0002,
  30. „LACE=0x0004,
  31. „PFBA=0x0040,
  32. „EXTRA_HALFBRITE…=0x0080,
  33. „GENLOCK_AUDIO‡=0x0100,
  34. „DUALPFŽ=0x0400,
  35. „HAM‘=0x0800,
  36. „VP_HIDE=0x2000,
  37. „SPRITES=0x4000,
  38. „HIRES=0x8000;
  39.  
  40. type
  41. „RasInfo_t=struct{
  42. ˆ*RasInfo_tri_Next;
  43. ˆ*BitMap_tri_BitMap;
  44. ˆintri_RxOffset,ri_RyOffset;
  45. „};
  46.  
  47. extern
  48. „FreeColorMap(*ColorMap_tcm)void,
  49. „FreeVPortCopLists(*ViewPort_tvp)void,
  50. „GetColorMap(ulongentries)*ColorMap_t,
  51. „GetRGB4(*ColorMap_tcm;ulongentry)ulong,
  52. „InitView(*View_tview)void,
  53. „InitVPort(*ViewPort_tvp)void,
  54. „LoadView(*View_tview)void,
  55. „LoadRGB4(*ViewPort_tvp;*uintcolors;ulongcount)void,
  56. „MakeVPort(*View_tview;*ViewPort_tvp)void,
  57. „MrgCop(*View_tview)void,
  58. „ScrollVPort(*ViewPort_tvp)void,
  59. „SetRGB4(*ViewPort_tvp;ulongn,r,g,b)void,
  60. „SetRGB4CM(*ColorMap_tcm;ulongn,r,g,b)void,
  61. „WaitBOVP(*ViewPort_tvp)void;
  62.